package top.drinyeit.nongmao.model;

import java.util.List;

/**
 * Created by wu on 2018/1/13.
 */

public class OrderBean {
    private UserAddress user_address;
    private OrderInfo order_info;

    public UserAddress getUser_address() {
        return user_address;
    }

    public void setUser_address(UserAddress user_address) {
        this.user_address = user_address;
    }

    public void setOrder_info(OrderInfo order_info) {
        this.order_info = order_info;
    }

    public OrderInfo getOrder_info() {
        return order_info;
    }

    public class UserAddress{
        private String id;
        private String user_id;
        private String consignee_name;
        private String consignee_phone;
        private AddressDetail address_detail;
        private String default_flag;

        public AddressDetail getAddress_detail() {
            return address_detail;
        }

        public String getId() {
            return id;
        }

        public String getConsignee_name() {
            return consignee_name;
        }

        public String getConsignee_phone() {
            return consignee_phone;
        }

        public String getUser_id() {
            return user_id;
        }

        public String getDefault_flag() {
            return default_flag;
        }

        public void setAddress_detail(AddressDetail address_detail) {
            this.address_detail = address_detail;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public void setConsignee_name(String consignee_name) {
            this.consignee_name = consignee_name;
        }

        public void setConsignee_phone(String consignee_phone) {
            this.consignee_phone = consignee_phone;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setDefault_flag(String default_flag) {
            this.default_flag = default_flag;
        }

        public class AddressDetail{
            private String province;
            private String city;
            private String detail;
            private String region;

            public String getRegion() {
                return region;
            }

            public void setRegion(String region) {
                this.region = region;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getProvince() {
                return province;
            }

            public String getDetail() {
                return detail;
            }

            public String getCity() {
                return city;
            }
        }
    }

    public class OrderInfo{
        private ParentOrderInfo parent_order_info;
        private List<ChildrenOrder> children_order_list;

        public List<ChildrenOrder> getChildren_order_list() {
            return children_order_list;
        }

        public ParentOrderInfo getParent_order_info() {
            return parent_order_info;
        }

        public void setChildren_order_list(List<ChildrenOrder> children_order_list) {
            this.children_order_list = children_order_list;
        }

        public void setParent_order_info(ParentOrderInfo parent_order_info) {
            this.parent_order_info = parent_order_info;
        }

        public class ParentOrderInfo{
            private String id;
            private String user_id;
            private double commodity_total_price;
            private double express_price;
            private double order_price;
            private String consignee_name;
            private String consignee_phone;
            private String address_detail;
            private String order_state;
            private String payment_flag;
            private String payment_type;
            private String payment_time;
            private String receipt_time;
            private String delete_flag;
            private String create_time;
            private String order_title;
            private String commodity_total_sum;
            private String reserve_flag;
            private String order_icon;

            public String getId() {
                return id;
            }

            public String getAddress_detail() {
                return address_detail;
            }

            public String getConsignee_name() {
                return consignee_name;
            }

            public String getConsignee_phone() {
                return consignee_phone;
            }

            public String getUser_id() {
                return user_id;
            }

            public double getExpress_price() {
                return express_price;
            }

            public String getPayment_time() {
                return payment_time;
            }

            public String getOrder_state() {
                return order_state;
            }

            public String getCommodity_total_sum() {
                return commodity_total_sum;
            }

            public double getOrder_price() {
                return order_price;
            }

            public double getCommodity_total_price() {
                return commodity_total_price;
            }

            public String getCreate_time() {
                return create_time;
            }

            public String getDelete_flag() {
                return delete_flag;
            }

            public String getOrder_icon() {
                return order_icon;
            }

            public String getOrder_title() {
                return order_title;
            }

            public String getPayment_flag() {
                return payment_flag;
            }

            public String getPayment_type() {
                return payment_type;
            }

            public String getReceipt_time() {
                return receipt_time;
            }

            public String getReserve_flag() {
                return reserve_flag;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public void setAddress_detail(String address_detail) {
                this.address_detail = address_detail;
            }

            public void setConsignee_name(String consignee_name) {
                this.consignee_name = consignee_name;
            }

            public void setConsignee_phone(String consignee_phone) {
                this.consignee_phone = consignee_phone;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setExpress_price(double express_price) {
                this.express_price = express_price;
            }

            public void setPayment_time(String payment_time) {
                this.payment_time = payment_time;
            }

            public void setOrder_state(String order_state) {
                this.order_state = order_state;
            }

            public void setOrder_price(double order_price) {
                this.order_price = order_price;
            }

            public void setCommodity_total_price(double commodity_total_price) {
                this.commodity_total_price = commodity_total_price;
            }

            public void setCommodity_total_sum(String commodity_total_sum) {
                this.commodity_total_sum = commodity_total_sum;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public void setDelete_flag(String delete_flag) {
                this.delete_flag = delete_flag;
            }

            public void setOrder_icon(String order_icon) {
                this.order_icon = order_icon;
            }

            public void setOrder_title(String order_title) {
                this.order_title = order_title;
            }

            public void setPayment_flag(String payment_flag) {
                this.payment_flag = payment_flag;
            }

            public void setPayment_type(String payment_type) {
                this.payment_type = payment_type;
            }

            public void setReceipt_time(String receipt_time) {
                this.receipt_time = receipt_time;
            }

            public void setReserve_flag(String reserve_flag) {
                this.reserve_flag = reserve_flag;
            }
        }


        public class ChildrenOrder{
            private ChildrenOrderInfo children_order_info;
            private String user_address;
            private String store_id;
            private String store_name;
            private List<Commodity> commodity_list;

            public String getStore_name() {
                return store_name;
            }

            public void setUser_address(String user_address) {
                this.user_address = user_address;
            }

            public void setStore_name(String store_name) {
                this.store_name = store_name;
            }

            public void setCommodity_list(List<Commodity> commodity_list) {
                this.commodity_list = commodity_list;
            }

            public void setChildren_order_info(ChildrenOrderInfo children_order_info) {
                this.children_order_info = children_order_info;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getUser_address() {
                return user_address;
            }

            public List<Commodity> getCommodity_list() {
                return commodity_list;
            }

            public ChildrenOrderInfo getChildren_order_info() {
                return children_order_info;
            }

            public String getStore_id() {
                return store_id;
            }

            public class ChildrenOrderInfo{
                private String id;
                private String parent_order_id;
                private String store_id;
                private String user_id;
                private String consignee_name;
                private String consignee_phone;
                private String address_detail;
                private String order_state;
                private double commodity_total_price;
                private double express_price;
                private double order_price;
                private int commodity_total_sum;
                private String order_remarks;
                private String appraise_flag;
                private String delete_flag;
                private String create_time;

                public class AddressDetail{
                    private String province;
                    private String city;
                    private String detail;
                    private String region;

                    public String getCity() {
                        return city;
                    }

                    public String getProvince() {
                        return province;
                    }

                    public String getRegion() {
                        return region;
                    }

                    public String getDetail() {
                        return detail;
                    }

                    public void setCity(String city) {
                        this.city = city;
                    }

                    public void setDetail(String detail) {
                        this.detail = detail;
                    }

                    public void setProvince(String province) {
                        this.province = province;
                    }

                    public void setRegion(String region) {
                        this.region = region;
                    }
                }

                public String getDelete_flag() {
                    return delete_flag;
                }

                public String getStore_id() {
                    return store_id;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public double getOrder_price() {
                    return order_price;
                }

                public String getOrder_state() {
                    return order_state;
                }

                public double getExpress_price() {
                    return express_price;
                }

                public String getUser_id() {
                    return user_id;
                }

                public String getConsignee_phone() {
                    return consignee_phone;
                }

                public String getConsignee_name() {
                    return consignee_name;
                }

                public String getId() {
                    return id;
                }

                public double getCommodity_total_price() {
                    return commodity_total_price;
                }

                public int getCommodity_total_sum() {
                    return commodity_total_sum;
                }

                public String getAddress_detail() {
                    return address_detail;
                }

                public String getAppraise_flag() {
                    return appraise_flag;
                }

                public String getOrder_remarks() {
                    return order_remarks;
                }

                public String getParent_order_id() {
                    return parent_order_id;
                }

                public void setStore_id(String store_id) {
                    this.store_id = store_id;
                }

                public void setDelete_flag(String delete_flag) {
                    this.delete_flag = delete_flag;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public void setCommodity_total_sum(int commodity_total_sum) {
                    this.commodity_total_sum = commodity_total_sum;
                }

                public void setCommodity_total_price(double commodity_total_price) {
                    this.commodity_total_price = commodity_total_price;
                }

                public void setOrder_price(double order_price) {
                    this.order_price = order_price;
                }

                public void setOrder_state(String order_state) {
                    this.order_state = order_state;
                }

                public void setExpress_price(double express_price) {
                    this.express_price = express_price;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public void setConsignee_phone(String consignee_phone) {
                    this.consignee_phone = consignee_phone;
                }

                public void setConsignee_name(String consignee_name) {
                    this.consignee_name = consignee_name;
                }

                public void setAddress_detail(String address_detail) {
                    this.address_detail = address_detail;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public void setAppraise_flag(String appraise_flag) {
                    this.appraise_flag = appraise_flag;
                }

                public void setOrder_remarks(String order_remarks) {
                    this.order_remarks = order_remarks;
                }

                public void setParent_order_id(String parent_order_id) {
                    this.parent_order_id = parent_order_id;
                }
            }

            public class Commodity{
                private String commodity_id;
                private String commodity_name;
                private String commodity_description;
                private String commodity_picture;
                private double unit_price;
                private String weight;
                private double sale_price;
                private String commodity_sum;

                public String getCommodity_sum() {
                    return commodity_sum;
                }

                public String getCommodity_name() {
                    return commodity_name;
                }

                public String getCommodity_description() {
                    return commodity_description;
                }

                public double getSale_price() {
                    return sale_price;
                }

                public double getUnit_price() {
                    return unit_price;
                }

                public String getCommodity_id() {
                    return commodity_id;
                }

                public String getCommodity_picture() {
                    return commodity_picture;
                }

                public String getWeight() {
                    return weight;
                }

                public void setCommodity_sum(String commodity_sum) {
                    this.commodity_sum = commodity_sum;
                }

                public void setCommodity_name(String commodity_name) {
                    this.commodity_name = commodity_name;
                }

                public void setCommodity_description(String commodity_description) {
                    this.commodity_description = commodity_description;
                }

                public void setCommodity_id(String commodity_id) {
                    this.commodity_id = commodity_id;
                }

                public void setCommodity_picture(String commodity_picture) {
                    this.commodity_picture = commodity_picture;
                }

                public void setSale_price(double sale_price) {
                    this.sale_price = sale_price;
                }

                public void setUnit_price(double unit_price) {
                    this.unit_price = unit_price;
                }

                public void setWeight(String weight) {
                    this.weight = weight;
                }
            }
        }

    }

}
